<script setup lang="ts">
import router from '@/router'

const goBack = () => {
  router.push('/home')
}
</script>

<template>
  <div class="not-found">
    <h2>404</h2>
    <p>找不到页面</p>
    <el-button @click="goBack">返回首页</el-button>
    <div>
      This is an not-found">
      <h2>404</h2>
      <p>找不到页面</p>
      <router-link to="/main">返回首页</router-link> page
    </div>
  </div>
</template>
<style lang="less">
</style>
